package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_ema_agt database table.
 * 
 */
@Entity
@Table(name="per_ema_agt")
@NamedQuery(name="PerEmaAgt.findAll", query="SELECT p FROM PerEmaAgt p")
public class PerEmaAgt implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int agtid;

	//bi-directional many-to-one association to PerEmaFeb
	@ManyToOne
	@JoinColumn(name="FEBID")
	private PerEmaFeb perEmaFeb;

	//bi-directional many-to-one association to PerEmaOut
	@ManyToOne
	@JoinColumn(name="OUTID")
	private PerEmaOut perEmaOut;

	public PerEmaAgt() {
	}

	public int getAgtid() {
		return this.agtid;
	}

	public void setAgtid(int agtid) {
		this.agtid = agtid;
	}

	public PerEmaFeb getPerEmaFeb() {
		return this.perEmaFeb;
	}

	public void setPerEmaFeb(PerEmaFeb perEmaFeb) {
		this.perEmaFeb = perEmaFeb;
	}

	public PerEmaOut getPerEmaOut() {
		return this.perEmaOut;
	}

	public void setPerEmaOut(PerEmaOut perEmaOut) {
		this.perEmaOut = perEmaOut;
	}

}